File Preview with FileReader API

I took from the credited article and split it into different chunks


Credits